<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>问题</title>
    <script>
        function fn3(obj) {
            // obj.name = '孙悟空';
            obj = {name:'孙悟空'};
            console.log(obj.name);
        }

        var c = {name:'猪八戒'};

        fn3(c);

        console.log(c.name);
    </script>
</head>
<body>

</body>
</html>